package com.hxd.otc.module.wallet.contract;

import com.hxd.otc.module.wallet.bean.WalletCoinRecordBean;
import com.hxd.otc.mvp.base.IBasePresenter;
import com.hxd.otc.mvp.base.IBaseView;

import java.util.List;

/**
 * 作  者 :  卫广玉
 * 时  间 :  2018/6/5 17:30
 * 描  述 :  钱包记录
 */
public interface WalletCoinRecordContract {
    interface View extends IBaseView {
        void refreshData(List<WalletCoinRecordBean.WalletCoinRecordData> data);

        void loadMoreData(List<WalletCoinRecordBean.WalletCoinRecordData> data);

        void finishRefresh();

        void finishLoadMore();

        //设置是否允许上拉加载
        void setEnableLoadMore(boolean b);
    }

    interface Presenter extends IBasePresenter {
        void getWalletCoinRecord(int flag, long page, long size);
    }
}
